#pragma once

#include "NxPhysics.h"
class PhysX 
{
private:
public:
	virtual ~PhysX( );


public:
	// Static methods
	static PhysX*  GetSingleton();
	bool Init(void);
	void Simulate(float dt);
	void FetchResults(void);
	NxScene *GetScene() const {return m_pScene;}
	void ClearScene();
private:
	PhysX();//singleton constructor
	static PhysX *m_pPhysX;

	NxPhysicsSDK *m_pPhysicsSDK;
	NxScene *m_pScene;

private:
	PhysX(const PhysX& t);
	PhysX& operator=(const PhysX& t);

};
